home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_05 / allison / cursor.h < prev    next >
C/C++ Source or Header  |  1994-03-03  |  388b  |  21 lines

  1. LISTING 7 -
  2. // cursor.h:    Cursor control module
  3.  
  4. class Cursor
  5. {
  6.     static int state;
  7.     static void set(unsigned, unsigned);
  8.  
  9. public:
  10.     enum cursor_type {LINE, BLOCK};
  11.  
  12.     static int init();
  13.     static void block();
  14.     static void line();
  15.     static void flip();
  16.     static void off();
  17.     static void setpos(int, int);
  18.     static void getpos(int&, int&);
  19. };
  20.  
  21.